<template>
	<!-- 学生 教师目录跳转的详情 -->
	<page-body>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center ziyuan_flex_0_ibhf"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub ziyuan_fd0_0_ibhf'>
					<view class='flex flex-wrap align-center ziyuan_fd0_0_c0_ibhf' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  ziyuan_fd0_0_c0_c0_ibhf'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='ziyuan_fd0_0_c1_c0_ibhf'>1.1.1 计算机网络和互联网</text>
					</view>
					<view class='flex flex-wrap align-center justify-end ziyuan_fd0_0_c0_ibhf'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
				<view>
					<benben-flex-tabs class-name='ziyuan_benbenTabsfd1_0_ibhf' v-model="tabsTypefd1_0"
						ref="benben_tabsfd1_0" select-mark="benben_tabsfd1_0" key="benben_tabsfd1_0"
						:open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false'
						:scrollspy='false' :tabs-info.sync="tabsInfofd1_0">

						<scroll-view @scroll="tabsInfofd1_0.scrollX = $event.detail.scrollLeft" id="benben_tabsfd1_0"
							class="benben-tabs" style="width:750rpx" :scroll-x="true" :scroll-left="tabsInfofd1_0.moveX"
							scroll-with-animation="all .3s ease" :show-scrollbar='false' :enhanced="true">
							<view class="benben-tabs-content" id="benben_tabsfd1_0-content">
								<view id="benben_tabsfd1_0-title"
									class="benben-tabs-title flex flex align-center justify-around">
									<view
										:class="{ 'checkTitlefd1_0_ibhf': tabsTypefd1_0 == '1', 'flex flex-wrap align-center': true }"
										@tap="tabsTypefd1_0 = '1'" :id="`benben_tabsfd1_0-title-item-${'1'}`">

										<text>导学视频</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0_ibhf': tabsTypefd1_0 == '2', 'flex flex-wrap align-center': true }"
										@tap="tabsTypefd1_0 = '2'" :id="`benben_tabsfd1_0-title-item-${'2'}`">

										<text>课件</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0_ibhf': tabsTypefd1_0 == '3', 'flex flex-wrap align-center': true }"
										@tap="tabsTypefd1_0 = '3'" :id="`benben_tabsfd1_0-title-item-${'3'}`">

										<text>测验</text>

									</view>
									<view
										:class="{ 'checkTitlefd1_0_ibhf': tabsTypefd1_0 == '4', 'flex flex-wrap align-center': true }"
										@tap="tabsTypefd1_0 = '4'" :id="`benben_tabsfd1_0-title-item-${'4'}`">

										<text>类型4</text>

									</view>
								</view>
								<view :style="{ left: tabsInfofd1_0.lineleft, maxWidth: tabsInfofd1_0.lineWidth ,}"
									id="benben_tabsfd1_0-line"
									class="benben-tabs-line flex benben-flex-tabs-line ziyuan_linefd1_0_ibhf"
									:class="{'benben-tabs-line-active':tabsInfofd1_0.isInit}"></view>
							</view>
						</scroll-view>

					</benben-flex-tabs>

				</view>
				<view class='flex flex-direction flex-wrap align-stretch ziyuan_fd1_1_ibhf'>
					<view class='flex flex-direction flex-wrap align-stretch'>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_ibhf'>
							<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_c0_ibhf'>
							</view>
							<text class='ziyuan_fd1_1_c0_c0_c1_ibhf'>任务点</text>
						</view>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c1_ibhf'>
							<image class='ziyuan_fd1_1_c0_c1_c0_ibhf' mode="aspectFill" :src='STATIC_URL+"1655.png"'>
							</image>
							<text class='fu-iconfont2 ziyuan_fd1_1_c0_c1_c1_ibhf'>&#xe610;</text>
							<!-- <image class='ziyuan_fd1_1_c0_c1_c1_ibhf' mode="aspectFit" :src='STATIC_URL+"6.jpg"'>
							</image> -->
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch'>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_ibhf'>
							<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_c0_ibhf'>
							</view>
							<text class='ziyuan_fd1_1_c0_c0_c1_ibhf'>任务点</text>
						</view>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c1_c1_ibhf'>
							<image class='ziyuan_fd1_1_c1_c1_c0_ibhf' mode="aspectFit" :src='STATIC_URL+"pdf.png"'>
							</image>
							<view
								class='flex flex-direction flex-wrap align-stretch flex-sub ziyuan_fd1_1_c1_c1_c1_ibhf'>
								<text class='ziyuan_fd1_1_c1_c1_c1_c0_ibhf'>计算机网络-第2章.pdf</text>
								<text class='ziyuan_fd1_1_c1_c1_c1_c1_ibhf'>10.1MB</text>
							</view>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch'>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_ibhf'>
							<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_c0_ibhf'>
							</view>
							<text class='ziyuan_fd1_1_c2_c0_c1_ibhf'>任务点</text>
							<view class='flex flex-wrap align-center justify-center ziyuan_fd1_1_c2_c0_c2_ibhf'>
								<text class='ziyuan_fd1_1_c2_c0_c2_c0_ibhf'>已完成</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c1_c1_ibhf'>
							<image class='ziyuan_fd1_1_c1_c1_c0_ibhf' mode="aspectFit" :src='STATIC_URL+"ppt.png"'>
							</image>
							<view
								class='flex flex-direction flex-wrap align-stretch flex-sub ziyuan_fd1_1_c1_c1_c1_ibhf'>
								<text class='ziyuan_fd1_1_c1_c1_c1_c0_ibhf'>计算机网络-第2章.pdf</text>
								<text class='ziyuan_fd1_1_c1_c1_c1_c1_ibhf'>10.1MB</text>
							</view>
						</view>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch'>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c0_c0_ibhf'>
							<view class='flex flex-wrap align-center ziyuan_fd1_1_c3_c0_c0_ibhf'>
							</view>
							<text class='ziyuan_fd1_1_c0_c0_c1_ibhf'>非任务点</text>
						</view>
						<view class='flex flex-wrap align-center ziyuan_fd1_1_c1_c1_ibhf'>
							<image class='ziyuan_fd1_1_c1_c1_c0_ibhf' mode="aspectFit" :src='STATIC_URL+"ppt.png"'>
							</image>
							<view
								class='flex flex-direction flex-wrap align-stretch flex-sub ziyuan_fd1_1_c1_c1_c1_ibhf'>
								<text class='ziyuan_fd1_1_c1_c1_c1_c0_ibhf'>计算机网络-第2章.pdf</text>
								<text class='ziyuan_fd1_1_c1_c1_c1_c1_ibhf'>10.1MB</text>
							</view>
						</view>
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<view class="flex benben-position-layout flex flex-wrap align-center ziyuan_flex_2_ibhf">
				<view class='flex flex-wrap align-center justify-center ziyuan_fd2_0_ibhf' v-if="group==1">
					<text class='ziyuan_fd2_0_c0_ibhf'>上一节</text>
				</view>
				<view class='flex flex-wrap align-center justify-center ziyuan_fd2_0_ibhf se' v-if="group==2">					<text class='ziyuan_fd2_0_c0_ibhf '>删除</text>
				</view>
				<view class='flex flex-wrap align-center justify-center ziyuan_fd2_1_ibhf'>
					<text class='ziyuan_fd2_1_c0_ibhf'>下一节</text>
				</view>

			</view>
			<view :style="{height: '140rpx'}"></view>


		</view>
	</page-body>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"tabsInfofd1_0": {
					lineleft: '',
					lineWidth: '',
					moveX: 0,
					scrollX: 0,
					PageScrollX: 0,
					isInit: false
				},
				"tabsTypefd1_0": "1",
				group:uni.getStorageSync('USER_GROUP')
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {

		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;

		.ziyuan_flex_2_ibhf {
			width: 750rpx;
			height: 140rpx;
			overflow: hidden;
			z-index: 10;
			bottom: calc(0rpx + var(--window-bottom));
			background: var(--benbenbgColor1);
			background-size: 100% auto;

			.ziyuan_fd2_0_ibhf {
				border: 1px solid #88ADFB;
				background: #FFFFFF;
				width: 264rpx;
				height: 64rpx;
				border-radius: 42rpx;
				margin: 0rpx 40rpx 0rpx 90rpx;

				.ziyuan_fd2_0_c0_ibhf {
					color: rgba(136, 173, 251, 1);
				}
			}
			.se{
				border: 1px solid #FF4545;
				.ziyuan_fd2_0_c0_ibhf {
					color:#FF4545;
				}
			}

			.ziyuan_fd2_1_ibhf {
				background: #145EFD;
				width: 264rpx;
				height: 64rpx;
				border-radius: 46rpx;

				.ziyuan_fd2_1_c0_ibhf {
					color: var(--benbenFontColor3);
				}
			}
		}

		.checkTitlefd1_0_ibhf {
			font-weight: 700 !important;
			font-size: 28rpx !important;
			color: #333 !important;
			background-color: rgba(255, 255, 255, 1) !important;
		}

		.ziyuan_linefd1_0_ibhf {
			width: 100rpx;
			height: 8rpx;
			top: 80rpx;
			background: rgba(57, 94, 250, 1);
			background-size: 100% auto !important;
		}

		.ziyuan_fd1_1_ibhf {
			margin: 8rpx 0rpx 0rpx 0rpx;
			background: var(--benbenbgColor1);
			background-size: 100% auto;

			.ziyuan_fd1_1_c0_c1_ibhf {
				width: 100%;
				height: 422rpx;
				position: relative;

				.ziyuan_fd1_1_c0_c1_c0_ibhf {
					width: 100%;
					height: 422rpx;
					border-radius: 0rpx;
				}

				.ziyuan_fd1_1_c0_c1_c1_ibhf {
					// width: 188rpx;
					// height: 188rpx;
					font-size: 88rpx;
					border-radius: 0rpx;
					position: absolute;
					left: 50%;
					margin: 0rpx 0rpx 0rpx -44rpx;
				}
			}
		}

		.ziyuan_fd1_1_c0_c0_ibhf {
			height: 84rpx;
			padding: 0rpx 0rpx 0rpx 24rpx;
		}

		.ziyuan_fd1_1_c0_c0_c0_ibhf {
			background: #1A62F9;
			width: 16rpx;
			height: 16rpx;
			border-radius: 16rpx;
		}

		.ziyuan_fd1_1_c0_c0_c1_ibhf {
			margin: 0rpx 0rpx 0rpx 12rpx;
			background: #FFFFFF;
			color: #131D34;
			font-size: 28rpx;
			font-weight: 500;
			line-height: 40rpx;
			text-align: left;
			font-style: normal;
		}

		.ziyuan_fd1_1_c1_c1_ibhf {
			padding: 0rpx 24rpx 0rpx 24rpx;
		}

		.ziyuan_fd1_1_c1_c1_c0_ibhf {
			width: 44rpx;
			height: 50rpx;
			border-radius: 0rpx;
			margin: 0rpx 24rpx 0rpx 0rpx;
		}

		.ziyuan_fd1_1_c1_c1_c1_ibhf {
			padding: 0rpx 0rpx 30rpx 0rpx;
			border-bottom: 1px solid #eee;
		}

		.ziyuan_fd1_1_c1_c1_c1_c0_ibhf {
			color: #131D34;
			font-size: 28rpx;
			font-weight: 500;
			line-height: 40rpx;
			text-align: left;
			font-style: normal;
			margin: 0rpx 0rpx 12rpx 0rpx;
		}

		.ziyuan_fd1_1_c1_c1_c1_c1_ibhf {
			color: #7A7B80;
			font-size: 24rpx;
			font-weight: 400;
			line-height: 33rpx;
			text-align: left;
			font-style: normal;
		}

		.ziyuan_fd1_1_c2_c0_c1_ibhf {
			margin: 0rpx 20rpx 0rpx 12rpx;
			background: #FFFFFF;
			color: #131D34;
			font-size: 28rpx;
			font-weight: 500;
			line-height: 40rpx;
			text-align: left;
			font-style: normal;
		}

		.ziyuan_fd1_1_c2_c0_c2_ibhf {
			background: #E7EEFE;
			width: 118rpx;
			height: 40rpx;
			border-radius: 26rpx;
			text-align: center;

			.ziyuan_fd1_1_c2_c0_c2_c0_ibhf {
				color: #145EFD;
				font-size: 26rpx;
				font-weight: 400;
				line-height: 37rpx;
				text-align: left;
				font-style: normal;
			}
		}

		.ziyuan_fd1_1_c3_c0_c0_ibhf {
			background: rgba(162, 168, 181, 1);
			width: 16rpx;
			height: 16rpx;
			border-radius: 16rpx;
		}

		.ziyuan_flex_0_ibhf {
			width: 750rpx;
			height: 88rpx;
			overflow: hidden;
			z-index: 10;
			top: 0rpx;
			background: #fff;
			background-size: 100% auto !important;

			.ziyuan_fd0_0_ibhf {
				padding: 0rpx 32rpx 0rpx 32rpx;

				.ziyuan_fd0_0_c1_c0_ibhf {
					font-size: 36rpx;
					font-weight: 700;
					color: #333333;
					line-height: 50rpx;
				}
			}
		}

		.ziyuan_fd0_0_c0_ibhf {
			width: 120rpx;

			.ziyuan_fd0_0_c0_c0_ibhf {
				font-size: 36rpx;
				color: #333;
			}
		}
	}

	::v-deep .ziyuan_benbenTabsfd1_0_ibhf {
		width: 750rpx;
		height: 90rpx;
		white-space: nowrap;
		background: #fff;
		text-align: center;
	}
</style>
